package com.qf.ssm.service;

import com.qf.ssm.entity.order.*;
import com.qf.ssm.utils.ResponseResult;

import java.util.List;

/**
 * @author hzy
 * @DATE 2021/2/25
 */
public interface OrderService {

    ResponseResult<List<OrderMessage>> selectOrderList();

    ResponseResult<OrderMessage>seletOrderDetail(String orderNums);

    ResponseResult<LogisticsCompany>selectCompanyByName(String companyName);

    ResponseResult<List<CooperativeNetwork>>selectNetworkBycity(String city);

    ResponseResult<List<ShippingTime>>selectShipByCnid(int cnId);

    ResponseResult<List<RegionalLogistics>>selectAreaByName(String areaName);

    ResponseResult<List<RegionalLogistics>>selectLogisticsConfigByrlId(int rlId);

    ResponseResult<Integer>insertOrderMessage(OrderMessage message);

    ResponseResult<Integer>updateOrderMessage(OrderMessage message);

    ResponseResult<Integer>insertUserAddress(UserAddress userAddress);

    ResponseResult<Integer>updateUserStatus(UserAddress userAddress);

    ResponseResult<Integer>updateUserAddress(UserAddress userAddress);

    ResponseResult<Integer>insertCooperativeNet(CooperativeNetwork cooperativeNetwork);


}
